/*
 * DiagramFactory.h
 *
 *  Created on: 01/05/2013
 *      Author: juan
 */

#ifndef DIAGRAMFACTORY_H_
#define DIAGRAMFACTORY_H_

#include "Diagram.h"

class DiagramFactory {
public:
    DiagramFactory();
    virtual ~DiagramFactory();

    static Diagram* getDiagram(int type, const std::string& name);
    static Diagram* getDiagramFromXML(XmlReader& reader);

};

#endif /* DIAGRAMFACTORY_H_ */
